\hypertarget{structnih_1_1_c_p__rotator}{
\section{nih\-:\-:\-C\-P\-\_\-rotator$<$ \-Generator $>$ \-Struct \-Template \-Reference}
\label{structnih_1_1_c_p__rotator}\index{nih\-::\-C\-P\-\_\-rotator$<$ Generator $>$@{nih\-::\-C\-P\-\_\-rotator$<$ Generator $>$}}
}


{\ttfamily \#include $<$cp\-\_\-rotations.\-h$>$}

\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\-N\-I\-H\-\_\-\-H\-O\-S\-T\-\_\-\-D\-E\-V\-I\-C\-E \hyperlink{structnih_1_1_c_p__rotator_a9868e43041aa07b1c8d435830aca854b}{\-C\-P\-\_\-rotator} (\-Generator \&gen, const float $\ast$rot, uint32 size, uint32 dim=0)
\item 
\-N\-I\-H\-\_\-\-H\-O\-S\-T\-\_\-\-D\-E\-V\-I\-C\-E float \hyperlink{structnih_1_1_c_p__rotator_a4572683851e705acd2063988100c2e01}{next} ()
\item 
\-N\-I\-H\-\_\-\-H\-O\-S\-T\-\_\-\-D\-E\-V\-I\-C\-E float \hyperlink{structnih_1_1_c_p__rotator_a4af1ac36b0cc5c16f880d3e43a7d0ebd}{density} (const float x) const 
\end{DoxyCompactItemize}
\subsection*{\-Public \-Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structnih_1_1_c_p__rotator_ae847c9c7cd45c838b399cdccddfba8fe}{
\-Generator \& {\bfseries m\-\_\-gen}}
\label{structnih_1_1_c_p__rotator_ae847c9c7cd45c838b399cdccddfba8fe}

\item 
\hypertarget{structnih_1_1_c_p__rotator_a1434823508a10160d72b75f2fd45804f}{
const float $\ast$ {\bfseries m\-\_\-rot}}
\label{structnih_1_1_c_p__rotator_a1434823508a10160d72b75f2fd45804f}

\item 
\hypertarget{structnih_1_1_c_p__rotator_ae084e4f340c0c7b2b6428917e3646499}{
uint32 {\bfseries m\-\_\-size}}
\label{structnih_1_1_c_p__rotator_ae084e4f340c0c7b2b6428917e3646499}

\item 
\hypertarget{structnih_1_1_c_p__rotator_aedc63e891bb1c628a5dcdc07565dbdc8}{
uint32 {\bfseries m\-\_\-dim}}
\label{structnih_1_1_c_p__rotator_aedc63e891bb1c628a5dcdc07565dbdc8}

\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}
\subsubsection*{template$<$typename Generator$>$struct nih\-::\-C\-P\-\_\-rotator$<$ Generator $>$}

\-Wrapper class to rotate the samples coming from a generator with a set of \-Cranley-\/\-Patterson rotations. 

\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{structnih_1_1_c_p__rotator_a9868e43041aa07b1c8d435830aca854b}{
\index{nih\-::\-C\-P\-\_\-rotator@{nih\-::\-C\-P\-\_\-rotator}!\-C\-P\-\_\-rotator@{\-C\-P\-\_\-rotator}}
\index{\-C\-P\-\_\-rotator@{\-C\-P\-\_\-rotator}!nih::CP_rotator@{nih\-::\-C\-P\-\_\-rotator}}
\subsubsection[{\-C\-P\-\_\-rotator}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Generator $>$ \-N\-I\-H\-\_\-\-H\-O\-S\-T\-\_\-\-D\-E\-V\-I\-C\-E {\bf nih\-::\-C\-P\-\_\-rotator}$<$ \-Generator $>$\-::{\bf \-C\-P\-\_\-rotator} (
\begin{DoxyParamCaption}
\item[{\-Generator \&}]{gen, }
\item[{const float $\ast$}]{rot, }
\item[{uint32}]{size, }
\item[{uint32}]{dim = {\ttfamily 0}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{structnih_1_1_c_p__rotator_a9868e43041aa07b1c8d435830aca854b}
constructor


\begin{DoxyParams}{\-Parameters}
{\em gen} & generator \\
\hline
{\em rot} & sequence of rotations \\
\hline
{\em size} & number of rotations \\
\hline
{\em dim} & initial dimension \\
\hline
\end{DoxyParams}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{structnih_1_1_c_p__rotator_a4af1ac36b0cc5c16f880d3e43a7d0ebd}{
\index{nih\-::\-C\-P\-\_\-rotator@{nih\-::\-C\-P\-\_\-rotator}!density@{density}}
\index{density@{density}!nih::CP_rotator@{nih\-::\-C\-P\-\_\-rotator}}
\subsubsection[{density}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Generator $>$ \-N\-I\-H\-\_\-\-H\-O\-S\-T\-\_\-\-D\-E\-V\-I\-C\-E float {\bf nih\-::\-C\-P\-\_\-rotator}$<$ \-Generator $>$\-::density (
\begin{DoxyParamCaption}
\item[{const float}]{x}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{structnih_1_1_c_p__rotator_a4af1ac36b0cc5c16f880d3e43a7d0ebd}
probability density function


\begin{DoxyParams}{\-Parameters}
{\em x} & sample location \\
\hline
\end{DoxyParams}
\hypertarget{structnih_1_1_c_p__rotator_a4572683851e705acd2063988100c2e01}{
\index{nih\-::\-C\-P\-\_\-rotator@{nih\-::\-C\-P\-\_\-rotator}!next@{next}}
\index{next@{next}!nih::CP_rotator@{nih\-::\-C\-P\-\_\-rotator}}
\subsubsection[{next}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Generator $>$ \-N\-I\-H\-\_\-\-H\-O\-S\-T\-\_\-\-D\-E\-V\-I\-C\-E float {\bf nih\-::\-C\-P\-\_\-rotator}$<$ \-Generator $>$\-::next (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{structnih_1_1_c_p__rotator_a4572683851e705acd2063988100c2e01}
get the next sample 

\-The documentation for this struct was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
sampling/\hyperlink{cp__rotations_8h}{cp\-\_\-rotations.\-h}\end{DoxyCompactItemize}
